package asteroids.model.programs.Expression;

import asteroids.model.Entity;

/**
* 
* @version 0.3
* @author  Tandan Sunil, Van Deun Luca
*
*/
public class SelfLiteral extends EntityExpression {

	public SelfLiteral(int line, int column) {
		super(line, column);

	}


	private Entity entity;
	public void setEntity(Entity entity){
		this.entity= entity;
	}
	
	public Entity getEntity(){
		return entity;
	}

	@Override
	public boolean canHaveAsEntity(Entity entity) {
		return entity!=null;
	}
	
}


